Fix tests namespace pollution from entsoe and remove tests/init#201
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a namespace pollution issue caused by the entsoe-py dependency by restricting its version range to avoid problematic versions that introduce a conflicting tests package.
- Updated version constraint for
entsoe-pydependency from< 0.8.0to< 0.7.1 - Added explanatory comment linking to the upstream issue
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
758dd5f to
cbc9e53
Compare
florian-wagner-frequenz
left a comment
There was a problem hiding this comment.
LGTM, thanks for the link describing what's going on and the PR to upstream.
I assume you will unpin it once the fix is merged upstream.
Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
tests namespace pollution from entsoetests namespace pollution from entsoe and remove tests/init
|
Updated to also remove the tests/init file to avoid masking similar problems in the future. |
That is def. the plan. |
|
A fixed version https://github.com/EnergieID/entsoe-py/releases/tag/V0.7.6 was released |
See EnergieID/entsoe-py#447 for details.
Example of the problem:
THis also removes the init file, as described in https://github.com/frequenz-io/rnd/issues/170